//
//  ICDetailHeadView.h
//  ICome
//
//  Created by ENN on 16/4/21.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICLCBFullScreenButton.h"
#import "ICHeaderFile.h"
static const CGFloat ICTopImageH =  150;



@protocol ICDetailHeadDelegate <NSObject>

- (void)deleteBtnClicked;
- (void)addBtnClicked;
- (void)headBtnClicked:(NSInteger)index User:(ICUser *)user;
- (void)changeGroupName;
- (void)changeGroupHeadImg;

@end

@interface ICDetailHeadView : UIView

@property (nonatomic, weak) id<ICDetailHeadDelegate>headDelegate;
@property (nonatomic, strong) NSArray *users;

@property (nonatomic, assign) BOOL isMaster;
/** 是否有权限 */
@property (nonatomic, assign) BOOL isPower;

@property (nonatomic, strong) ICGroup *group;

@property (nonatomic, strong) UIView *topView;
@property (nonatomic, strong) ICLCBFullScreenButton *topHeadBtn;


- (void)modifyHeadImageWithPhotoId:(NSString *)photoId withGroup:(ICGroup *)group;

@end
